package com.xcx.minservice.feignclients;

import com.xcx.commonuntils.returnuntls.ErrorEnum;
import com.xcx.commonuntils.returnuntls.ReturnMessage;
import com.xcx.commonuntils.returnuntls.ReturnMessageUtils;
import org.springframework.stereotype.Component;


/**
 * 熔断方法
 *
 * */
@Component
public class MinioFileDegradeFeignClient implements AclFeignClient{


    @Override
    public ReturnMessage<Object> updateUserFileIndex(String username, String filePath) {

        return ReturnMessageUtils.errorWithEum(ErrorEnum.E_FEIGN_RESUME);

    }
}
